package com.example.api.dao;

import com.example.api.model.entity.Toll;

import java.util.List;

public interface TollDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Toll record);

    int insertSelective(Toll record);

    Toll selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Toll record);

    int updateByPrimaryKey(Toll record);

    List<Toll> findAll(String name);

    Toll selectByDid(Integer did);

    Toll findById(Integer id);

    List<Toll> selectExpireToll();

}
